-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For upstream #81
For upstream #81
Conversation
also switch to gnome downloads instead of xmlsoft.org
Thanks. BTW, you don't have to make a new PR after a rebase, just force-push to the original PR's branch to replace the commits. |
I'm afraid that the Sorry about that! |
@totaam Xpra-org#22 looks a bit confused. The crash report shows libpython3.9 while in the first comment you talk about a problem with libffi-3.4 vs. 3.3 and something being fixed in libpython 3.10.1; the modulesets before your PR had python 3.10.2 and libffi 3.4.3. It seems possible, likely even, that you have at least one library conflict. Try a completely fresh build in an empty prefix before you decide that the problem is really with the upgrade from libffi 3.4.3 to libffi 3.4.4. |
@jralls the github issue was created at a time when I did do a fresh build in an empty prefix, not just once, but twice - once on a MacOS 10.14.x VM and once on a MacOS 12.x VM. In both cases, downgrading The downgrade I did was from 3.4.4 back to 3.3, I don't know yet if earlier versions of 3.4.x are affected - based on the links in Xpra-org#22, I suspect that they are. Hence: #85 No worries if you want to wait for more evidence before applying a downgrade. |
@totaam i took the time to read through your xpra bug and the very interesting conda-forge one. You mentioned on your xpra one yesterday
Have you tried that? Maybe the right answer is to not build libffi at all and always depend on the SDK one. I looked through my archived Xcodes and found that libffi was first included in Xcode 8. ffi.h in that through Xcode 10 indicate an ancient version:
Xcode 11 and 12 say
I don't have an Xcode 13 handy, but Xcode 14's starts with
Indicating that builds on Xcode 14 (and maybe 13) might have the opposite problem. Yeah, more exploration is necessary before deciding on the right fix. |
Not yet, I was going to but I am seriously overloaded ATM and not helped by the fact that my MacOS VMs only run on a single core (of an old CPU at that) so trying anything takes a looong time. FYI, in xpra |
IIUC the problem is the "more you haven't spotted", in particular something in the SDK that's compiled with the version there. I just looked at python-cffi and python3.10's built-in libffi: Both are the pre-2.0 version that used to be the SDKs before Xcode 11; the python3 one was apparently lifted from opensource.apple.com; I didn't see that in the python-cffi one but maybe I didn't notice it. |
@jralls I've side-stepped the |
@totaam I did. You should post that in an issue to libffi; I haven't done a comprehensive search to see if there's already an open one, but there are a lot, many appear to be quite serious. but I found the next comment even more interesting: " I raised the minimum requirements to MacOS 12: ". Since that has libffi 3.4 what does that imply for your preferred version of libffi here? |
One more thing: For any rollback we have to take Apple Silicon support into account. I imagine that's why the version in Xcode got bumped to 3.4.0-rc1. |
Replaces #80 with the following changes:
As for why I chose Python 3.10.10 over 3.11.2 - I'm just being conservative here, I could bump it too if you like.
FWIW: works for me(tm).